#include <stdlib.h>
#include <stdio.h>
 
int main(int argc,char *argv[])
{
  int sum=0,getnum[8],i;
  for(i=0;i<8;i++)
  {
     getnum[i]=atoi(argv[i]);
     sum += getnum[i];
  }	
  
  printf("sum=%d\n",sum);
 
  return 0;
}
